<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>can: xcan.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">can
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xcan_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xcan.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_can___config.html">XCan_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for a device.  <a href="struct_x_can___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_can.html">XCan</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_can.html" title="The XCan driver instance data. ">XCan</a> driver instance data.  <a href="struct_x_can.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga5d6a612e7746553fce2ca0685595deee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga5d6a612e7746553fce2ca0685595deee">XCan_IsTxDone</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga5d6a612e7746553fce2ca0685595deee"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the transmission is complete.  <a href="group__can__v3__0.html#ga5d6a612e7746553fce2ca0685595deee">More...</a><br /></td></tr>
<tr class="separator:ga5d6a612e7746553fce2ca0685595deee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga16bf9b91c18418196abe8271eed806ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga16bf9b91c18418196abe8271eed806ce">XCan_IsTxFifoFull</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga16bf9b91c18418196abe8271eed806ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the transmission FIFO is full.  <a href="group__can__v3__0.html#ga16bf9b91c18418196abe8271eed806ce">More...</a><br /></td></tr>
<tr class="separator:ga16bf9b91c18418196abe8271eed806ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2092c4148ae5c6498597afc619bb4261"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga2092c4148ae5c6498597afc619bb4261">XCan_IsHighPriorityBufFull</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga2092c4148ae5c6498597afc619bb4261"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the Transmission High Priority Buffer is full.  <a href="group__can__v3__0.html#ga2092c4148ae5c6498597afc619bb4261">More...</a><br /></td></tr>
<tr class="separator:ga2092c4148ae5c6498597afc619bb4261"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1723fe89d70a9e010af7cda90c9b697e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga1723fe89d70a9e010af7cda90c9b697e">XCan_IsRxEmpty</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga1723fe89d70a9e010af7cda90c9b697e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the receive FIFO is empty.  <a href="group__can__v3__0.html#ga1723fe89d70a9e010af7cda90c9b697e">More...</a><br /></td></tr>
<tr class="separator:ga1723fe89d70a9e010af7cda90c9b697e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadcfdfbba7de0499f02921ab6b5626c9b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gadcfdfbba7de0499f02921ab6b5626c9b">XCan_IsAcceptFilterBusy</a>(InstancePtr)</td></tr>
<tr class="memdesc:gadcfdfbba7de0499f02921ab6b5626c9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the CAN device is ready for the driver to change Acceptance Filter Identifier Registers (AFIR) and Acceptance Filter Mask Registers (AFMR).  <a href="group__can__v3__0.html#gadcfdfbba7de0499f02921ab6b5626c9b">More...</a><br /></td></tr>
<tr class="separator:gadcfdfbba7de0499f02921ab6b5626c9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga874d1b170d939f5ab18bf88fbad00b43"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga874d1b170d939f5ab18bf88fbad00b43">XCan_CreateIdValue</a>(StandardId,  SubRemoteTransReq,  IdExtension,  ExtendedId,  RemoteTransReq)</td></tr>
<tr class="memdesc:ga874d1b170d939f5ab18bf88fbad00b43"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro calculates CAN message identifier value given identifier field values.  <a href="group__can__v3__0.html#ga874d1b170d939f5ab18bf88fbad00b43">More...</a><br /></td></tr>
<tr class="separator:ga874d1b170d939f5ab18bf88fbad00b43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2389175edaafb057e5a5cf089f6cdec1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga2389175edaafb057e5a5cf089f6cdec1">XCan_CreateDlcValue</a>(DataLengCode)&#160;&#160;&#160;(((DataLengCode) &lt;&lt; <a class="el" href="group__can__v3__0.html#gab4b767107a5599196e3b5b2d61457828">XCAN_DLCR_DLC_SHIFT</a>) &amp; <a class="el" href="group__can__v3__0.html#gafa0b23b8702612aeff3cc901ead4f3ee">XCAN_DLCR_DLC_MASK</a>)</td></tr>
<tr class="memdesc:ga2389175edaafb057e5a5cf089f6cdec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro calculates value for Data Length Code register given Data Length Code value.  <a href="group__can__v3__0.html#ga2389175edaafb057e5a5cf089f6cdec1">More...</a><br /></td></tr>
<tr class="separator:ga2389175edaafb057e5a5cf089f6cdec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">CAN operation modes</div></td></tr>
<tr class="memitem:gac2ff2f17841fcf789f5e214205aa844a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gac2ff2f17841fcf789f5e214205aa844a">XCAN_MODE_CONFIG</a>&#160;&#160;&#160;0x00000001</td></tr>
<tr class="memdesc:gac2ff2f17841fcf789f5e214205aa844a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration mode.  <a href="group__can__v3__0.html#gac2ff2f17841fcf789f5e214205aa844a">More...</a><br /></td></tr>
<tr class="separator:gac2ff2f17841fcf789f5e214205aa844a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67ad8870dd83393eb315bf8b56032117"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga67ad8870dd83393eb315bf8b56032117">XCAN_MODE_NORMAL</a>&#160;&#160;&#160;0x00000002</td></tr>
<tr class="memdesc:ga67ad8870dd83393eb315bf8b56032117"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normal mode.  <a href="group__can__v3__0.html#ga67ad8870dd83393eb315bf8b56032117">More...</a><br /></td></tr>
<tr class="separator:ga67ad8870dd83393eb315bf8b56032117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad11c39965154f3eeb280a07fdfcc38bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gad11c39965154f3eeb280a07fdfcc38bc">XCAN_MODE_LOOPBACK</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="memdesc:gad11c39965154f3eeb280a07fdfcc38bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loop Back mode.  <a href="group__can__v3__0.html#gad11c39965154f3eeb280a07fdfcc38bc">More...</a><br /></td></tr>
<tr class="separator:gad11c39965154f3eeb280a07fdfcc38bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0bc526fa48c6a149ef2017d304c4c79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gae0bc526fa48c6a149ef2017d304c4c79">XCAN_MODE_SLEEP</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gae0bc526fa48c6a149ef2017d304c4c79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep mode.  <a href="group__can__v3__0.html#gae0bc526fa48c6a149ef2017d304c4c79">More...</a><br /></td></tr>
<tr class="separator:gae0bc526fa48c6a149ef2017d304c4c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Callback identifiers used as parameters to XCan_SetHandler()</div></td></tr>
<tr class="memitem:ga0951d27e2a23e485fb9d04019714ff19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga0951d27e2a23e485fb9d04019714ff19">XCAN_HANDLER_SEND</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:ga0951d27e2a23e485fb9d04019714ff19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for frame sending interrupt.  <a href="group__can__v3__0.html#ga0951d27e2a23e485fb9d04019714ff19">More...</a><br /></td></tr>
<tr class="separator:ga0951d27e2a23e485fb9d04019714ff19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3819485b065f3726f30fab00768891a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gac3819485b065f3726f30fab00768891a">XCAN_HANDLER_RECV</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:gac3819485b065f3726f30fab00768891a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for frame reception interrupt.  <a href="group__can__v3__0.html#gac3819485b065f3726f30fab00768891a">More...</a><br /></td></tr>
<tr class="separator:gac3819485b065f3726f30fab00768891a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95c42c89b517eab2aa63b584178e19d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga95c42c89b517eab2aa63b584178e19d7">XCAN_HANDLER_ERROR</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:ga95c42c89b517eab2aa63b584178e19d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for error interrupt.  <a href="group__can__v3__0.html#ga95c42c89b517eab2aa63b584178e19d7">More...</a><br /></td></tr>
<tr class="separator:ga95c42c89b517eab2aa63b584178e19d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b8a36e69531ded498ee4aae48144703"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga2b8a36e69531ded498ee4aae48144703">XCAN_HANDLER_EVENT</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga2b8a36e69531ded498ee4aae48144703"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for all other interrupts.  <a href="group__can__v3__0.html#ga2b8a36e69531ded498ee4aae48144703">More...</a><br /></td></tr>
<tr class="separator:ga2b8a36e69531ded498ee4aae48144703"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga872a7de27397d76c02d260566f40a72b"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga872a7de27397d76c02d260566f40a72b">XCan_SendRecvHandler</a>) (void *CallBackRef)</td></tr>
<tr class="memdesc:ga872a7de27397d76c02d260566f40a72b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for frame sending and reception interrupts.  <a href="group__can__v3__0.html#ga872a7de27397d76c02d260566f40a72b">More...</a><br /></td></tr>
<tr class="separator:ga872a7de27397d76c02d260566f40a72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36b95aff4d87e348e0ebb4308c668ae4"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga36b95aff4d87e348e0ebb4308c668ae4">XCan_ErrorHandler</a>) (void *CallBackRef, u32 ErrorMask)</td></tr>
<tr class="memdesc:ga36b95aff4d87e348e0ebb4308c668ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for error interrupt.  <a href="group__can__v3__0.html#ga36b95aff4d87e348e0ebb4308c668ae4">More...</a><br /></td></tr>
<tr class="separator:ga36b95aff4d87e348e0ebb4308c668ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66b5d2714c6bf0746e362ab2f32262e9"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga66b5d2714c6bf0746e362ab2f32262e9">XCan_EventHandler</a>) (void *CallBackRef, u32 Mask)</td></tr>
<tr class="memdesc:ga66b5d2714c6bf0746e362ab2f32262e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for all kinds of interrupts except sending frame interrupt, receiving frame interrupt, and error interrupt.  <a href="group__can__v3__0.html#ga66b5d2714c6bf0746e362ab2f32262e9">More...</a><br /></td></tr>
<tr class="separator:ga66b5d2714c6bf0746e362ab2f32262e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gacbd9f5e256dcbd948afe916d13bc7b35"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gacbd9f5e256dcbd948afe916d13bc7b35">XCan_Initialize</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u16 DeviceId)</td></tr>
<tr class="memdesc:gacbd9f5e256dcbd948afe916d13bc7b35"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine initializes a specific <a class="el" href="struct_x_can.html" title="The XCan driver instance data. ">XCan</a> instance/driver.  <a href="group__can__v3__0.html#gacbd9f5e256dcbd948afe916d13bc7b35">More...</a><br /></td></tr>
<tr class="separator:gacbd9f5e256dcbd948afe916d13bc7b35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0829418cbc177e93388daebe5fba0c6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gae0829418cbc177e93388daebe5fba0c6">XCan_VmInitialize</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u16 DeviceId, UINTPTR VirtAddr)</td></tr>
<tr class="memdesc:gae0829418cbc177e93388daebe5fba0c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine initializes of a specific <a class="el" href="struct_x_can.html" title="The XCan driver instance data. ">XCan</a> instance/driver.  <a href="group__can__v3__0.html#gae0829418cbc177e93388daebe5fba0c6">More...</a><br /></td></tr>
<tr class="separator:gae0829418cbc177e93388daebe5fba0c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c52fb4d4b12d62e3e713ad182f00d8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga6c52fb4d4b12d62e3e713ad182f00d8b">XCan_Reset</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga6c52fb4d4b12d62e3e713ad182f00d8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the CAN device.  <a href="group__can__v3__0.html#ga6c52fb4d4b12d62e3e713ad182f00d8b">More...</a><br /></td></tr>
<tr class="separator:ga6c52fb4d4b12d62e3e713ad182f00d8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b437133a6a2f40f56cf3c80102f5b0d"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga6b437133a6a2f40f56cf3c80102f5b0d">XCan_GetMode</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga6b437133a6a2f40f56cf3c80102f5b0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine returns current operation mode the CAN device is in.  <a href="group__can__v3__0.html#ga6b437133a6a2f40f56cf3c80102f5b0d">More...</a><br /></td></tr>
<tr class="separator:ga6b437133a6a2f40f56cf3c80102f5b0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga994a0b0bd9c938e99de9d7ffceb10ef3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga994a0b0bd9c938e99de9d7ffceb10ef3">XCan_EnterMode</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u8 OperationMode)</td></tr>
<tr class="memdesc:ga994a0b0bd9c938e99de9d7ffceb10ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function allows the CAN device to enter one of the following operation modes:  <a href="group__can__v3__0.html#ga994a0b0bd9c938e99de9d7ffceb10ef3">More...</a><br /></td></tr>
<tr class="separator:ga994a0b0bd9c938e99de9d7ffceb10ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga502a294405726d96834c2abf574a96e8"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga502a294405726d96834c2abf574a96e8">XCan_GetStatus</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga502a294405726d96834c2abf574a96e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns Status value from Status Register (SR).  <a href="group__can__v3__0.html#ga502a294405726d96834c2abf574a96e8">More...</a><br /></td></tr>
<tr class="separator:ga502a294405726d96834c2abf574a96e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a905b9f2f47e605267817c58edd1112"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga1a905b9f2f47e605267817c58edd1112">XCan_GetBusErrorCounter</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u8 *RxErrorCount, u8 *TxErrorCount)</td></tr>
<tr class="memdesc:ga1a905b9f2f47e605267817c58edd1112"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads Receive and Transmit error counters.  <a href="group__can__v3__0.html#ga1a905b9f2f47e605267817c58edd1112">More...</a><br /></td></tr>
<tr class="separator:ga1a905b9f2f47e605267817c58edd1112"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga242ec83578f9966bd7d562ed7f5dedd3"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga242ec83578f9966bd7d562ed7f5dedd3">XCan_GetBusErrorStatus</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga242ec83578f9966bd7d562ed7f5dedd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads Error Status value from Error Status Register (ESR).  <a href="group__can__v3__0.html#ga242ec83578f9966bd7d562ed7f5dedd3">More...</a><br /></td></tr>
<tr class="separator:ga242ec83578f9966bd7d562ed7f5dedd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga757aecce4c0c06ff8f4cb3dd4d0c79fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga757aecce4c0c06ff8f4cb3dd4d0c79fa">XCan_ClearBusErrorStatus</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga757aecce4c0c06ff8f4cb3dd4d0c79fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears Error Status bit(s) previously set in Error Status Register (ESR).  <a href="group__can__v3__0.html#ga757aecce4c0c06ff8f4cb3dd4d0c79fa">More...</a><br /></td></tr>
<tr class="separator:ga757aecce4c0c06ff8f4cb3dd4d0c79fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4717011f46b8e9d5e15c0bfb04c33c8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gad4717011f46b8e9d5e15c0bfb04c33c8">XCan_Send</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 *FramePtr)</td></tr>
<tr class="memdesc:gad4717011f46b8e9d5e15c0bfb04c33c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends a CAN Frame.  <a href="group__can__v3__0.html#gad4717011f46b8e9d5e15c0bfb04c33c8">More...</a><br /></td></tr>
<tr class="separator:gad4717011f46b8e9d5e15c0bfb04c33c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d8ac17789423c440872ffd4585b8c3c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga1d8ac17789423c440872ffd4585b8c3c">XCan_Recv</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 *FramePtr)</td></tr>
<tr class="memdesc:ga1d8ac17789423c440872ffd4585b8c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function receives a CAN Frame.  <a href="group__can__v3__0.html#ga1d8ac17789423c440872ffd4585b8c3c">More...</a><br /></td></tr>
<tr class="separator:ga1d8ac17789423c440872ffd4585b8c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ba9b10678fbc6bd6093fdc5e9eb3edd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga8ba9b10678fbc6bd6093fdc5e9eb3edd">XCan_SendHighPriority</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 *FramePtr)</td></tr>
<tr class="memdesc:ga8ba9b10678fbc6bd6093fdc5e9eb3edd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sends a CAN High Priority frame.  <a href="group__can__v3__0.html#ga8ba9b10678fbc6bd6093fdc5e9eb3edd">More...</a><br /></td></tr>
<tr class="separator:ga8ba9b10678fbc6bd6093fdc5e9eb3edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae04419e368e843d5bf7384b8f32ba9b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gae04419e368e843d5bf7384b8f32ba9b6">XCan_AcceptFilterEnable</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 FilterIndexes)</td></tr>
<tr class="memdesc:gae04419e368e843d5bf7384b8f32ba9b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine enables individual acceptance filters.  <a href="group__can__v3__0.html#gae04419e368e843d5bf7384b8f32ba9b6">More...</a><br /></td></tr>
<tr class="separator:gae04419e368e843d5bf7384b8f32ba9b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8bc758e3b0a5fc41bcb17b49fa1e7ed4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga8bc758e3b0a5fc41bcb17b49fa1e7ed4">XCan_AcceptFilterDisable</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 FilterIndexes)</td></tr>
<tr class="memdesc:ga8bc758e3b0a5fc41bcb17b49fa1e7ed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine disables individual acceptance filters.  <a href="group__can__v3__0.html#ga8bc758e3b0a5fc41bcb17b49fa1e7ed4">More...</a><br /></td></tr>
<tr class="separator:ga8bc758e3b0a5fc41bcb17b49fa1e7ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02c9fb502d3fd8a0537c9efdf456defd"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga02c9fb502d3fd8a0537c9efdf456defd">XCan_AcceptFilterGetEnabled</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga02c9fb502d3fd8a0537c9efdf456defd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns enabled acceptance filters.  <a href="group__can__v3__0.html#ga02c9fb502d3fd8a0537c9efdf456defd">More...</a><br /></td></tr>
<tr class="separator:ga02c9fb502d3fd8a0537c9efdf456defd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3079df9559ea328b414b0f8438c7991e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga3079df9559ea328b414b0f8438c7991e">XCan_AcceptFilterSet</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 FilterIndex, u32 MaskValue, u32 IdValue)</td></tr>
<tr class="memdesc:ga3079df9559ea328b414b0f8438c7991e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets values to the Acceptance Filter Mask Register (AFMR) and Acceptance Filter ID Register (AFIR) for the specified Acceptance Filter.  <a href="group__can__v3__0.html#ga3079df9559ea328b414b0f8438c7991e">More...</a><br /></td></tr>
<tr class="separator:ga3079df9559ea328b414b0f8438c7991e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2385a83eb4e0e5f7bae366ac8ec86ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gab2385a83eb4e0e5f7bae366ac8ec86ec">XCan_AcceptFilterGet</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 FilterIndex, u32 *MaskValue, u32 *IdValue)</td></tr>
<tr class="memdesc:gab2385a83eb4e0e5f7bae366ac8ec86ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the values of the Acceptance Filter Mask and ID Register for the specified Acceptance Filter.  <a href="group__can__v3__0.html#gab2385a83eb4e0e5f7bae366ac8ec86ec">More...</a><br /></td></tr>
<tr class="separator:gab2385a83eb4e0e5f7bae366ac8ec86ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ea4b468a9ac5d22eb5411cff7a59353"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_can___config.html">XCan_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga5ea4b468a9ac5d22eb5411cff7a59353">XCan_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga5ea4b468a9ac5d22eb5411cff7a59353"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks for the device configuration based on the unique device ID.  <a href="group__can__v3__0.html#ga5ea4b468a9ac5d22eb5411cff7a59353">More...</a><br /></td></tr>
<tr class="separator:ga5ea4b468a9ac5d22eb5411cff7a59353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae77955cacd567dcbbaa4594e7a12438c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_can___config.html">XCan_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gae77955cacd567dcbbaa4594e7a12438c">XCan_GetConfig</a> (unsigned int InstanceIndex)</td></tr>
<tr class="memdesc:gae77955cacd567dcbbaa4594e7a12438c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks for the device configuration based on the device index.  <a href="group__can__v3__0.html#gae77955cacd567dcbbaa4594e7a12438c">More...</a><br /></td></tr>
<tr class="separator:gae77955cacd567dcbbaa4594e7a12438c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75aabbb82d96151cadfd3c26a2a285e9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga75aabbb82d96151cadfd3c26a2a285e9">XCan_SetBaudRatePrescaler</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u8 Prescaler)</td></tr>
<tr class="memdesc:ga75aabbb82d96151cadfd3c26a2a285e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sets Baud Rate Prescaler value.  <a href="group__can__v3__0.html#ga75aabbb82d96151cadfd3c26a2a285e9">More...</a><br /></td></tr>
<tr class="separator:ga75aabbb82d96151cadfd3c26a2a285e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee29a9e04aa8993561e0c11d1222c1f9"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gaee29a9e04aa8993561e0c11d1222c1f9">XCan_GetBaudRatePrescaler</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaee29a9e04aa8993561e0c11d1222c1f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine gets Baud Rate Prescaler value.  <a href="group__can__v3__0.html#gaee29a9e04aa8993561e0c11d1222c1f9">More...</a><br /></td></tr>
<tr class="separator:gaee29a9e04aa8993561e0c11d1222c1f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf60120410396727f6e9304ce9ba65980"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gaf60120410396727f6e9304ce9ba65980">XCan_SetBitTiming</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u8 SyncJumpWidth, u8 TimeSegment2, u8 TimeSegment1)</td></tr>
<tr class="memdesc:gaf60120410396727f6e9304ce9ba65980"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sets Bit time.  <a href="group__can__v3__0.html#gaf60120410396727f6e9304ce9ba65980">More...</a><br /></td></tr>
<tr class="separator:gaf60120410396727f6e9304ce9ba65980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab70138a7e54403355ec194f468f945fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gab70138a7e54403355ec194f468f945fd">XCan_GetBitTiming</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u8 *SyncJumpWidth, u8 *TimeSegment2, u8 *TimeSegment1)</td></tr>
<tr class="memdesc:gab70138a7e54403355ec194f468f945fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine gets Bit time.  <a href="group__can__v3__0.html#gab70138a7e54403355ec194f468f945fd">More...</a><br /></td></tr>
<tr class="separator:gab70138a7e54403355ec194f468f945fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa18e848a6ffc670e024972ffc71b2ba8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gaa18e848a6ffc670e024972ffc71b2ba8">XCan_SelfTest</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaa18e848a6ffc670e024972ffc71b2ba8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function runs a self-test on the CAN driver/device.  <a href="group__can__v3__0.html#gaa18e848a6ffc670e024972ffc71b2ba8">More...</a><br /></td></tr>
<tr class="separator:gaa18e848a6ffc670e024972ffc71b2ba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1abd3a018094fd4d586599d708c33e4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga1abd3a018094fd4d586599d708c33e4f">XCan_InterruptEnable</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga1abd3a018094fd4d586599d708c33e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine enables interrupt(s).  <a href="group__can__v3__0.html#ga1abd3a018094fd4d586599d708c33e4f">More...</a><br /></td></tr>
<tr class="separator:ga1abd3a018094fd4d586599d708c33e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga163cd737c7421ddbd0ff492883e32558"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga163cd737c7421ddbd0ff492883e32558">XCan_InterruptDisable</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga163cd737c7421ddbd0ff492883e32558"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine disables interrupt(s).  <a href="group__can__v3__0.html#ga163cd737c7421ddbd0ff492883e32558">More...</a><br /></td></tr>
<tr class="separator:ga163cd737c7421ddbd0ff492883e32558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5670f843250e65969ce6ef36d0e06e24"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga5670f843250e65969ce6ef36d0e06e24">XCan_InterruptGetEnabled</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5670f843250e65969ce6ef36d0e06e24"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine returns enabled interrupt(s).  <a href="group__can__v3__0.html#ga5670f843250e65969ce6ef36d0e06e24">More...</a><br /></td></tr>
<tr class="separator:ga5670f843250e65969ce6ef36d0e06e24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga26bb19c641bfce1cb3dac4f5c0b7f71d"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga26bb19c641bfce1cb3dac4f5c0b7f71d">XCan_InterruptGetStatus</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga26bb19c641bfce1cb3dac4f5c0b7f71d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine returns interrupt status read from Interrupt Status Register.  <a href="group__can__v3__0.html#ga26bb19c641bfce1cb3dac4f5c0b7f71d">More...</a><br /></td></tr>
<tr class="separator:ga26bb19c641bfce1cb3dac4f5c0b7f71d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac53101769980d4aa036844100ac732af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gac53101769980d4aa036844100ac732af">XCan_InterruptClear</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gac53101769980d4aa036844100ac732af"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears interrupt(s).  <a href="group__can__v3__0.html#gac53101769980d4aa036844100ac732af">More...</a><br /></td></tr>
<tr class="separator:gac53101769980d4aa036844100ac732af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaafc4a0e025e8e3eb800778eba5a00c66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#gaafc4a0e025e8e3eb800778eba5a00c66">XCan_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="memdesc:gaafc4a0e025e8e3eb800778eba5a00c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine is the interrupt handler for the CAN driver.  <a href="group__can__v3__0.html#gaafc4a0e025e8e3eb800778eba5a00c66">More...</a><br /></td></tr>
<tr class="separator:gaafc4a0e025e8e3eb800778eba5a00c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a7838a033b61a842b06e3ee4b06a614"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__can__v3__0.html#ga3a7838a033b61a842b06e3ee4b06a614">XCan_SetHandler</a> (<a class="el" href="struct_x_can.html">XCan</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:ga3a7838a033b61a842b06e3ee4b06a614"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine installs an asynchronous callback function for the given HandlerType:  <a href="group__can__v3__0.html#ga3a7838a033b61a842b06e3ee4b06a614">More...</a><br /></td></tr>
<tr class="separator:ga3a7838a033b61a842b06e3ee4b06a614"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
